home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / PIIGSIncludes / ACE.p next >
Encoding:
Text File  |  1991-10-28  |  1.1 KB  |  48 lines  |  [TEXT/MPS ]

  1. {********************************************
  2. ; File: ACE.p
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc. 1986-91
  6. ; All Rights Reserved
  7. ;
  8. ********************************************}
  9.  
  10. UNIT ACE;
  11. INTERFACE
  12. USES TYPES;
  13. CONST
  14.  
  15.  
  16. { Error Codes }
  17. aceNoError = $0000;
  18. aceIsActive = $1D01;
  19. aceBadDP = $1D02;
  20. aceNotActive = $1D03;
  21. aceNoSuchParam = $1D04;
  22. aceBadMethod = $1D05;
  23. aceBadSrc = $1D06;
  24. aceBadDest = $1D07;
  25. aceDataOverlap = $1D08;
  26. aceNotImplemented = $1DFF;
  27.  
  28. TYPE
  29. aceStatusBuffer = PACKED ARRAY[1..16] OF Byte;
  30.  
  31. PROCEDURE ACEBootInit;
  32. PROCEDURE ACECompBegin;
  33. PROCEDURE ACECompress ( src:Handle; srcOffset:Longint; dest:Handle; destOffset:Longint; nBlks:Integer; method:Integer);
  34. PROCEDURE ACEExpand ( src:Handle; srcOffset:Longint; dest:Handle; destOffset:Longint; nBlks:Integer; method:Integer);
  35. PROCEDURE ACEExpBegin;
  36. FUNCTION ACEInfo ( infoItemCode:Integer) : Longint;
  37. PROCEDURE ACEReset;
  38. PROCEDURE ACEShutDown;
  39. PROCEDURE ACEStartUp ( dPageAddr:Integer);
  40. FUNCTION ACEStatus: Boolean;
  41. FUNCTION ACEVersion: Integer;
  42.  
  43. PROCEDURE GetACEExpState(var buffer:aceStatusBuffer);
  44. PROCEDURE SetACEExpState(var buffer:aceStatusBuffer);
  45.  
  46. IMPLEMENTATION
  47. END.
  48.